//
//  AppDelegate.h
//  RedManStock
//
//  Created by lanou3g on 15/7/17.
//  Copyright (c) 2015年 lanou3g. All rights reserved.
//

#import <UIKit/UIKit.h>
#import <CoreData/CoreData.h>
@interface AppDelegate : UIResponder <UIApplicationDelegate>

@property (strong, nonatomic) UIWindow *window;
@property (readonly, strong, nonatomic) NSManagedObjectContext *managedObjectContext;
@property (readonly, strong, nonatomic) NSManagedObjectModel *managedObjectModel;
@property (readonly, strong, nonatomic) NSPersistentStoreCoordinator *persistentStoreCoordinator;

@property (nonatomic,assign) BOOL status;
@property (nonatomic,retain) NSTimer *statusTimer;
@property (nonatomic,retain) NSTimer *entrustTimer;

- (void)saveContext;
- (NSURL *)applicationDocumentsDirectory;@end

